package com.gyc.simple.sysuser.entity.base;

import java.time.LocalDateTime;
import java.util.Date;

public class IFile {
    private String fileName;

    private String fileOldname;

    private String fileType;

    private String fileSuffix;

    private String fileSavepath;

    private LocalDateTime saveTime;

    //


    public IFile() {
    }

    public IFile(String fileName, String fileOldname, String fileType, String fileSuffix, String fileSavepath, LocalDateTime saveTime) {
        this.fileName = fileName;
        this.fileOldname = fileOldname;
        this.fileType = fileType;
        this.fileSuffix = fileSuffix;
        this.fileSavepath = fileSavepath;
        this.saveTime = saveTime;
    }

    //

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    public String getFileOldname() {
        return fileOldname;
    }

    public void setFileOldname(String fileOldname) {
        this.fileOldname = fileOldname == null ? null : fileOldname.trim();
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType == null ? null : fileType.trim();
    }

    public String getFileSuffix() {
        return fileSuffix;
    }

    public void setFileSuffix(String fileSuffix) {
        this.fileSuffix = fileSuffix == null ? null : fileSuffix.trim();
    }

    public String getFileSavepath() {
        return fileSavepath;
    }

    public void setFileSavepath(String fileSavepath) {
        this.fileSavepath = fileSavepath == null ? null : fileSavepath.trim();
    }

    public LocalDateTime getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(LocalDateTime saveTime) {
        this.saveTime = saveTime;
    }
}